package Game
{
	public class Ghost
	{
		private var _tank:Tank;
		
		private var _playerX:Number;
		private var _playerY:Number;
		
		public function Ghost()
		{
			_tank = new Tank();
		}
		
		public function get tank():Tank
		{
			return _tank;
		}
		
		public function playerAt(playerX:Number, playerY:Number):void
		{
			_playerX = playerX;
			_playerY = playerY;
		}
		
		/**
		 * Call after each ENTER_FRAME
		 * */
		public function step():void
		{
			this._tank.lookAt(this._playerX, this._playerY);
		}
	}
}